package com.gxa.service.parking.impl;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gxa.entity.parking.TemporaryPay;
import com.gxa.entity.parking.TemporarySelect;
import com.gxa.mapper.parking.TemporaryPayMapper;
import com.gxa.service.parking.TemporaryPayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author yjl
 * @since 2022-10-11 10:05:39
 */
@Service
public class TemporaryPayServiceImpl extends ServiceImpl<TemporaryPayMapper, TemporaryPay> implements TemporaryPayService {
    @Autowired
    private TemporaryPayMapper temporaryPayMapper;
    @Override
    public List<TemporaryPay> selectAll() {
        return temporaryPayMapper.selectList(null);
    }

    @Override
    public TemporaryPay selectById(Integer id) {

        return temporaryPayMapper.selectById(id);
    }

    @Override
    public List<TemporaryPay> selectByCondition(TemporarySelect temporarySelect) {
        return temporaryPayMapper.selectByCondition(temporarySelect);
    }


}
